package com.jdd.dao.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jdd.dao.entity.TArea;
import com.jdd.modules.people.model.TAreaTreeModel;
import com.jdd.modules.people.vo.AreaSearchVo;
import com.jdd.modules.people.vo.AreaVo;
import com.jdd.modules.system.model.SysDepartTreeModel;

import java.util.List;

/**
 * <p>
 * 区域表 服务类
 * </p>
 *
 * @author zly
 * @since 2022-03-23
 */
public interface TAreaService extends IService<TArea> {

    List<TAreaTreeModel> queryTreeList();

    /**
     * 根据关键字搜索相关的区域数据
     * @param keyWord
     * @return
     */
    List<TAreaTreeModel> searhBy(String keyWord);

    IPage<AreaVo> getAreaInfoPage(Page<AreaVo> page, AreaSearchVo areaSearchVo,List<String> projectCodes);


}
